import { ApiProperty } from '@nestjs/swagger';

export class PageDto<T> {
  @ApiProperty({ description: '页码' })
  page: number;

  @ApiProperty({ description: '页数' })
  pageSize: number;

  @ApiProperty({ description: '查询数据' })
  data: T;
}
